package com.common.shared.usermanager;

import java.io.Serializable;

import com.common.shared.SharedClass;

public class Permition extends SharedClass implements Serializable {

	private static final long serialVersionUID = 2130723547832037519L;
	private int id;
	private long caption_id;
	private String permission_name;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getCaption_id() {
		return caption_id;
	}

	public void setCaption_id(long caption_id) {
		this.caption_id = caption_id;
	}

	public String getPermission_name() {
		return permission_name;
	}

	public void setPermission_name(String permission_name) {
		this.permission_name = permission_name;
	}

	@Override
	public long getIdVal() {
		return getId();
	}

	@Override
	public String getTextVal() {
		return getPermission_name();
	}

}
